<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>修改信息</title>

    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
    <style>
        body {
            font-weight:bold;
        }
        .layui-body {
            display: flex;
            justify-content: center;
            align-items: center;
        }
    </style>
</head>
<body>
    <div class="layui-layout layui-layout-admin">
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <div class="layui-header">
            <ul class="layui-nav" lay-filter="" style="background-color: #1a206e">
                <li class="layui-nav-item layui-col-md-offset4 "><a href="../app/appcommit.html">鉴定申请</a></li>
                <li class="layui-nav-item"><a href="../me/mecommit.html">物证信息库</a></li>
                <li class="layui-nav-item"><a href="../fire/fireinfo.html">火灾信息库</a></li>
                <li class="layui-nav-item"><a href="../ident/identify.html">物证鉴定</a></li>
                <li class="layui-nav-item"><a href="../rev/revlist.html">审查</a></li>
            </ul>

            <div class="layui-logo layui-hide-xs" style="font-size: 21px; color: white; background-color: #1a206e">火灾物证鉴定系统</div>

            <!--        修改个人信息-->
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-username"></i>

                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="../user/usercenter.html">修改信息</a></dd>
                        <dd><a href="../user/login.html">退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-more-vertical"></i>
                    </a>
                </li>
            </ul>
        </div>

        <!-- 左侧导航区域-->
        <div class="layui-side" style="background-color: #1b227b">
            <div class="layui-side-scroll">
                <ul class="layui-nav layui-nav-tree" lay-filter="test" style="background-color: #1b227b">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="../user/usercenter.html">修改个人信息</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="../user/userinfo.html">查看个人信息</a>
                </ul>
            </div>
        </div>

        <!-- 内容主体区域 -->
        <div class="layui-body">
            <div style="padding: 15px;">
                <form class="layui-form layui-form-pane" th:action="@{/user/userCenter}">
                    <div class="layui-form-item" >
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-inline" style="width: 500px">
                            <input type="text" name="Name" required  lay-verify="required" placeholder="请输入姓名"
                                   autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-inline" style="width: 500px">
                            <select name="city" lay-verify="">
                                <option value="">请选择您的性别</option>
                                <option value="male">男</option>
                                <option value="female">女</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">出生日期</label>
                        <div class="layui-input-inline" style="width: 500px">
                            <input type="date" name="Birth" required  lay-verify="required" placeholder="请输入出生日期:yyyy-mm-dd"
                                   autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">电话</label>
                        <div class="layui-input-inline" style="width: 500px">
                            <input type="text" name="Phone" required  lay-verify="required" placeholder="请输入电话"
                                   autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn " lay-submit lay-filter="formDemo" style="background-color: #1a206e">修改</button>

                        </div>
                    </div>
                </form>
            </div>
        </div>

        <!-- 底部固定区域 -->
        <div class="layui-footer">
            底部固定区域
        </div>
    </div>

    <script src="/layui/layui.js"></script>
    <script>
        //JS
        layui.use(['element', 'layer', 'util'], function(){
            var element = layui.element
                ,layer = layui.layer
                ,util = layui.util
                ,$ = layui.$;

            //头部事件
            util.event('lay-header-event', {
                //左侧菜单事件
                menuLeft: function(othis){
                    layer.msg('展开左侧菜单的操作', {icon: 0});
                }
                ,menuRight: function(){
                    layer.open({
                        type: 1
                        ,content: '<div style="padding: 15px;">处理右侧面板的操作</div>'
                        ,area: ['260px', '100%']
                        ,offset: 'rt' //右上角
                        ,anim: 5
                        ,shadeClose: true
                    });
                }
            });
        });
    </script>

    <!-- 引入 layui.js -->
    <script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
    <!--弹窗-->
    <script th:inline="javascript">
        a=[[${msg}]]
        if(a!=null)
        {alert(a);}
    </script>

</body>
</html>